package com.itjiange.dao;

import com.itjiange.pojo.User;
import com.itjiange.pojo.UserRegisterDto;

import java.util.List;

/**
 * 用户数据层
 *
 * @author ItJiange
 * @date 2023/10/16
 */
public interface UserDao {
    User getUser(String userName, String userPassword);
    int insertUser(UserRegisterDto userDto);

    List<User> selectAllUser();
}
